<?php
class Booking extends AppModel
{
    var $belongsTo = array('BookingStatus', 'PaymentType', 'Hotel', 'Location', 'Customer', 'User');
    var $hasMany = array('BookingDetail');
    var $virtualFields = array(
        'month' => 'MONTH(checkin_date)',
        'year' => 'YEAR(checkin_date)'
    );
}
?>
